package com.wx.chapter12.throws_;

import java.io.FileInputStream;
import java.io.FileNotFoundException;

/**
 * @Author : 佩萁
 * Description :
 * @Create : 2023/7/9 - 14:23
 */
public class ThrowsDetail {
    public static void main(String[] args) {
//        f2();
//        f3();
        f5();
    }

    public static void f2() {
        int n1 = 10;
        int n2 = 0;
        double res = n1 / n2;
    }

    public static void f3() throws FileNotFoundException {
        FileInputStream fis = new FileInputStream("d://a.txt");
    }

    public static void f5() throws ArithmeticException {
    }
}